home *** CD-ROM | disk | FTP | other *** search
/ The Utilities Experience / The Utilities Experience - Volume 1.iso / software / demos / r-z / stormc-demo / include / clib / expansion_protos.h < prev    next >
C/C++ Source or Header  |  1996-01-02  |  2KB  |  65 lines

  1. #ifndef  CLIB_EXPANSION_PROTOS_H
  2. #define  CLIB_EXPANSION_PROTOS_H
  3.  
  4. /*
  5. **    $VER: expansion_protos.h 39.0 (31.10.91)
  6. **    Includes Release 40.15
  7. **
  8. **    C prototypes. For use with 32 bit integers only.
  9. **
  10. **    (C) Copyright 1990-1993 Commodore-Amiga, Inc.
  11. **        All Rights Reserved
  12. */
  13.  
  14. #ifndef  EXEC_TYPES_H
  15. #include <exec/types.h>
  16. #endif
  17.  
  18. #ifdef __cplusplus
  19. extern "C" {
  20. #endif
  21.  
  22. /*--- functions in V33 or higher (Release 1.2) ---*/
  23. void AddConfigDev( struct ConfigDev *configDev );
  24. /*--- functions in V36 or higher (Release 2.0) ---*/
  25. BOOL AddBootNode( long bootPri, unsigned long flags,
  26.     struct DeviceNode *deviceNode, struct ConfigDev *configDev );
  27. /*--- functions in V33 or higher (Release 1.2) ---*/
  28. void AllocBoardMem( unsigned long slotSpec );
  29. struct ConfigDev *AllocConfigDev( void );
  30. APTR AllocExpansionMem( unsigned long numSlots, unsigned long slotAlign );
  31. void ConfigBoard( APTR board, struct ConfigDev *configDev );
  32. void ConfigChain( APTR baseAddr );
  33. struct ConfigDev *FindConfigDev( struct ConfigDev *oldConfigDev,
  34.     long manufacturer, long product );
  35. void FreeBoardMem( unsigned long startSlot, unsigned long slotSpec );
  36. void FreeConfigDev( struct ConfigDev *configDev );
  37. void FreeExpansionMem( unsigned long startSlot, unsigned long numSlots );
  38. UBYTE ReadExpansionByte( APTR board, unsigned long offset );
  39. void ReadExpansionRom( APTR board, struct ConfigDev *configDev );
  40. void RemConfigDev( struct ConfigDev *configDev );
  41. void WriteExpansionByte( APTR board, unsigned long offset,
  42.     unsigned long byte );
  43. void ObtainConfigBinding( void );
  44. void ReleaseConfigBinding( void );
  45. void SetCurrentBinding( struct CurrentBinding *currentBinding,
  46.     unsigned long bindingSize );
  47. ULONG GetCurrentBinding( struct CurrentBinding *currentBinding,
  48.     unsigned long bindingSize );
  49. struct DeviceNode *MakeDosNode( APTR parmPacket );
  50. BOOL AddDosNode( long bootPri, unsigned long flags,
  51.     struct DeviceNode *deviceNode );
  52. /*--- functions in V36 or higher (Release 2.0) ---*/
  53.  
  54. #ifdef __cplusplus
  55. }
  56. #endif
  57.  
  58. #ifdef STORMPRAGMAS
  59. #ifndef _INCLUDE_PRAGMA_EXPANSION_LIB_H
  60. #include <expansion_lib.h>
  61. #endif
  62. #endif
  63.  
  64. #endif     /* CLIB_EXPANSION_PROTOS_H */
  65.